package com.xdf.swids.model;

import java.io.Serializable;
import java.util.Date;

public class TenantInfo implements Serializable {
    private Long id;

    private String tenant_id;

    private String tenant_name;

    private String datasource_url;

    private String datasource_username;

    private String datasource_password;

    private String datasource_driver;

    private String system_account;

    private String system_password;

    private String system_project;

    private Integer status;

    private Date create_time;

    private Date update_time;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id == null ? null : tenant_id.trim();
    }

    public String getTenant_name() {
        return tenant_name;
    }

    public void setTenant_name(String tenant_name) {
        this.tenant_name = tenant_name == null ? null : tenant_name.trim();
    }

    public String getDatasource_url() {
        return datasource_url;
    }

    public void setDatasource_url(String datasource_url) {
        this.datasource_url = datasource_url == null ? null : datasource_url.trim();
    }

    public String getDatasource_username() {
        return datasource_username;
    }

    public void setDatasource_username(String datasource_username) {
        this.datasource_username = datasource_username == null ? null : datasource_username.trim();
    }

    public String getDatasource_password() {
        return datasource_password;
    }

    public void setDatasource_password(String datasource_password) {
        this.datasource_password = datasource_password == null ? null : datasource_password.trim();
    }

    public String getDatasource_driver() {
        return datasource_driver;
    }

    public void setDatasource_driver(String datasource_driver) {
        this.datasource_driver = datasource_driver == null ? null : datasource_driver.trim();
    }

    public String getSystem_account() {
        return system_account;
    }

    public void setSystem_account(String system_account) {
        this.system_account = system_account == null ? null : system_account.trim();
    }

    public String getSystem_password() {
        return system_password;
    }

    public void setSystem_password(String system_password) {
        this.system_password = system_password == null ? null : system_password.trim();
    }

    public String getSystem_project() {
        return system_project;
    }

    public void setSystem_project(String system_project) {
        this.system_project = system_project == null ? null : system_project.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tenant_id=").append(tenant_id);
        sb.append(", tenant_name=").append(tenant_name);
        sb.append(", datasource_url=").append(datasource_url);
        sb.append(", datasource_username=").append(datasource_username);
        sb.append(", datasource_password=").append(datasource_password);
        sb.append(", datasource_driver=").append(datasource_driver);
        sb.append(", system_account=").append(system_account);
        sb.append(", system_password=").append(system_password);
        sb.append(", system_project=").append(system_project);
        sb.append(", status=").append(status);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}